package org.example.book.mediator;

public class Buyer extends AbstractCustomer{
    public Buyer(AbstractMedicator medicator, String orderId, String customerName) {
        super(medicator, orderId, customerName);
    }

    @Override
    public void messageTransfer(String orderId, String targerCustomer, String payResult) {
        super.medicator.messageTransfer(orderId, targerCustomer, this, payResult);
    }
}
